if (Test-Path -PathType 'Leaf' .\package-lock.json) {
    Remove-Item                 .\package-lock.json
}

if (Test-Path -PathType 'Container' .\node_modules) {
    Remove-Item -Recurse -Force .\node_modules
}



npm i -P --registry https://registry.npmmirror.com `
    fabric@latest `
    lodash@latest

npm i -D --registry https://registry.npmmirror.com `
    @types/lodash@latest `
    @typescript-eslint/eslint-plugin@latest `
    @typescript-eslint/parser@latest `
    chalk@latest `
    css-loader@latest `
    eslint@latest `
    html-webpack-plugin@latest `
    sass@latest `
    sass-loader@latest `
    style-loader@latest `
    ts-loader@latest `
    ts-node@latest `
    typescript@latest `
    webpack@latest `
    webpack-cli@latest `
    webpack-dev-server@latest
